package com.splider.sdk;

import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

@Component
public class StartRunner implements CommandLineRunner {

    @Override
    public void run(String... args) throws Exception {
        MyCrawler crawler=new MyCrawler();
        crawler.crawling(new String [] {"http://news.sina.cn/"});
    }
}
